<h1>Testcase List</h1>
<?php foreach ($testcaseListById as $testcase): ?>
<table class="tableList">
  
  <thead>
  
    <tr>
      <th class="alignRight">Id: </th>
      <td><?php echo $testcase->getid() ?></td>
    </tr>
    <tr>
      <th class="alignRight">Estimate Time for Execution: </th>
      <td><?php echo $testcase->getestimateexecution().' minutes' ?></td>
    </tr>
    <tr>
      <th class="alignRight">User Name: </th>
       <td><?php echo $testcase['User']['username'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Component: </th>
      <td><?php echo $testcase['Component']['name'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Testsuite Name: </th>
      <td><?php echo $testcase['Testsuite']['name'] ?></td>
    </tr>
    <tr>
      <th class="alignRight">Title of TestCase: </th>
      <td><?php echo $testcase->gettitle() ?></td>
    </tr>
    <tr>
      <th class="alignRight">Steps to follow: </th>
      <td><?php echo $testcase->getsteps() ?></td>
    </tr>
    <tr>
      <th class="alignRight">Expected Result: </th>
      <td><?php echo $testcase->getexpectedresult() ?></td>
    </tr>
    <tr>
      <th class="alignRight">Is Applicable?: </th>
      <td><?php echo (($testcase->getapplicable()) ? "True" : "False" ); ?></td>
    </tr>
  </thead>
  <tbody>   
  </tbody>
</table>
  <?php endforeach; ?>
  



